package com.market.domain.transients;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

public class SalesGroupByUserQuery  implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6022640066453203472L;

	private SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
	
	private Date startDate;
	
	private Date endDate;

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
	
	public String getStartDateLabel(){
		return format.format(startDate);
	}
	
	public String getEndDateLabel(){
		return format.format(endDate);
	}
	
}
